package com.by.biz;

import com.by.dao.AirDao;
import com.by.pojo.Air;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("airBiz")
public class AirBizImpl implements AirBiz {

    @Autowired
    private AirDao airDao;

    public List<Air> getAirByPage(Map<String, Object> maps) {
        return airDao.getAirByPage(maps);
    }

    public int getTotalCount() {
        return airDao.getTotalCount();
    }
}
